<!-- 电子签名 -->
<template>
	<view class='my-page'>
		<m-signature @sign="tapSave"></m-signature>
	</view>
</template>

<script>
	export default {
		components: {

		},
		data() {
			return {

			}
		},
		onLoad() {
			uni.showLoading({
				title: "加载中..."
			})
			// #ifdef APP-PLUS
			setTimeout(() => {
				plus.screen.lockOrientation("landscape-primary");
				uni.hideLoading();
			}, 1800);

			// #endif
		},
		onUnload() {
			console.log('监听页面卸载')
			// #ifdef APP-PLUS
			
			plus.screen.unlockOrientation();
			plus.screen.lockOrientation("portrait-primary");
			// #endif
		},
		/**
		 * 计算属性
		 */
		computed: {

		},
		methods: {
			tapSave(e){
				console.log(e);
			}
		}
	}
</script>

<style lang="scss" scoped>

</style>
